'use strict';
const Controller = require('egg').Controller;
class CakeController extends Controller {
    
    
    async getlabel(){   
        let value=this.ctx.request.query.value
        let data = await this.ctx.service.cake.getlabel(value)
        this.ctx.body = data
    }
    async getscene(){   
        let value=this.ctx.request.query.value
        let data = await this.ctx.service.cake.getscene(value)
        this.ctx.body = data
    }
    async gettaste(){   
        let value=this.ctx.request.query.value
        let data = await this.ctx.service.cake.gettaste(value)
        this.ctx.body = data
    }
    
}
module.exports = CakeController;